class CreateUserStories < ActiveRecord::Migration
  def change
    create_table :user_stories do |t|
      t.integer :product_backlog_pid
      t.text :description
      t.string :headline
      t.integer :user_pid
      t.integer :user_story_state_pid
      t.integer :user_story_priority_pid
      t.integer :user_story_rating_id
      t.boolean :published
      t.integer :sprint_backlog_column_id
      t.integer :sprint_backlog_id

      t.timestamps
    end
  end
end
